<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    //
    protected  $table = 'user';

//    protected $primaryKey = 'id';

    //指定允许批量赋值的字段-create方法创建不报错
//    protected $fillable = ['phone','pwd'];

    /**
     * 不可批量赋值的属性。
     *
     * @var array
     */
//    protected $guarded = ['id'];

    public $timestamps = false;
}
